// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

Vue.config.productionTip = false;//阻止 vue 在启动时生成生产提示
// import '@/assets/js/remChange'
// import '@/assets/js/request'
// import '@/assets/css/common.scss'
//
// import Mock from 'mockjs';
// Vue.use(Mock);
import Mock from './mock/mock'
Mock.init();

import config from '@/assets/js/config'
import filters from '@/assets/js/filters'

import 'lib-flexible/flexible'

//瀑布流导入滚动组件
import VueScroller from 'vue-scroller'
Vue.use(VueScroller);

import "./assets/css/reset.css"
import "../static/js/adaptive-version2"
// window['adaptive'].desinWidth = 750; // 设计图宽度
// // body 字体大小 会将body字体大小设置为 baseFont / 100 + 'rem'  750的设计图一般设置为28,640的设计图一般设置为24
// window['adaptive'].baseFont = 26;  // 没有缩放时的字体大小
//
// window['adaptive'].init();
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
});
